<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        console.log(4 >= 6 || '人' != '阿凡达' && !(12 * 2 == 144) && true)//
        //false || true && true && true 根据权重 与>或 结果为false||true = true
        var num =10
        console.log(5 == num / 2 && (2 + 2 * num).toString() === '22');
        //true && true 根据逻辑与短路运算 第一个表达式为真即返回第二个 所以结果为 true
        var a = 3 > 5 && 2 < 7 && 3 == 4
        console.log(a);//false

        var b = 3 <= 4 || 3 > 1 || 3 != 2
        console.log(b);//true

        var c = 2 === '2'
        console.log(c);//false

        var d = !c || b && a 
        console.log(d);//true
    </script>
</head>
<body>
    
</body>
</html>